GtkWindow: Manually set CSD should enable shadow width calculation
authorJonas Ådahl <jadahl@gmail.com>
Thu, 7 May 2015 15:06:32 +0000 (23:06 +0800)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 7 May 2015 19:56:14 +0000 (15:56 -0400)
commit08e2f958f001a79b5d722d56c48bd7ec77208efe
treebcea1eb386fd33f2900c69a43721827dd5a99a31
parent7c294fb5da3ca844705328447b880ad5918877a6
GtkWindow: Manually set CSD should enable shadow width calculation

If CSD is enabled with shadow even though it "shouldn't"*, the width
should still be calculated correctly. This fixes a regression caused by
b1e5ad469c753ea3eed967056ca814ecb0117c7b.

* gtk_window_should_use_csd () returns false

https://bugzilla.gnome.org/show_bug.cgi?id=748615
gtk/gtkwindow.c